package com.xiao.xin.core.service;

import com.xiao.xin.core.domain.QueryTasklist;
import com.xiao.xin.core.dto.CancelComfyuiTaskDto;
import com.xiao.xin.core.dto.Text2ImageDto;
import com.xiao.xin.core.domain.ComfyuiTask;
import com.xiao.xin.core.vo.Text2ImageVo;

import java.util.Map;

public interface Text2ImageService {

   public ComfyuiTask getComfyuiTask(Text2ImageDto text2ImageDto) throws Exception;

    Text2ImageVo propmt(Text2ImageDto dto) throws Exception;

    void cancel(CancelComfyuiTaskDto cancelComfyuiTaskDto);

    Map list(QueryTasklist queryTasklist);
}
